defeat the purpose

Translations
aller à l'encontre de l'objectif
Definitions
To act in a way that undermines or contradicts the intended goal or objective of an action or decision.